package com.yihuier.yihuier.Service.UserManager;

import com.yihuier.yihuier.Mapper.UserManager.CustomerMapper;
import com.yihuier.yihuier.Mapper.UserManager.QuestionMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CustomerService {

    @Autowired
    private CustomerMapper customerMapper;

    /**
     * 记录与我们联系的用户信息
     */
    public int insertCustomer(String name, String phoneNumber, String email, String type) {
        return customerMapper.insertCustomer(name, phoneNumber, email, type);
    }
}
